DrawPoint
Draws a point on
an image.
Syntax: | imaG.DrawPoint x , y , color |
x (single) | The beginning horizontal position of the point. |
y (single) | The beginning vertical position of the point. |
color (OLE_COLOR) | OPTIONAL - color of the point (default : imaG.ForeColor) |
This is a standard Microsoft Visual Basic method.
If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.
If you are using this method with a palettized image, then the color selected must be contained in the image's palette. If it is not, then the closest color found in the image's palette is used.
See also DrawCircle , DrawLine , DrawMode, DrawString , DrawStyle , DrawWidth